import http from './http'
// http://localhost:12345
// 订单
 export const   createApi=(data)=>{
    return  http({
        url:'http://localhost:12345/api/order/create',
        method:'POST',
         data:{
          ...data
         }
    })
}
// 详情
 export const   getOrderApi=()=>{
    return  http({
        url:'http://localhost:12345/api/order/getOrder',
        method:'GET',
      
    })
}
// 列表
 export const   getOrderListApi=()=>{
    return  http({
        url:'http://localhost:12345/api/order/getOrderList',
        method:'GET',
        
    })
}